package com.jumi.microservice.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jumi.microservice.entity.JmUserTeamHistory;
import com.jumi.microservice.mapper.JmUserTeamHistoryMapper;
import com.jumi.microservice.service.IJmUserTeamHistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 客户明细历史统计 服务实现类
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-11-02
 */
@Service
public class JmUserTeamHistoryServiceImpl extends ServiceImpl<JmUserTeamHistoryMapper, JmUserTeamHistory> implements IJmUserTeamHistoryService {


    @Override
    public List<JmUserTeamHistory> getTeamHistoryByUid(int uid) {
        QueryWrapper wrapper=new QueryWrapper();
        wrapper.eq("uid",uid);
        return list(wrapper);
    }
}
